package com.msb.mall.product.feign;


import com.msb.common.dto.SkuReductionDto;
import com.msb.common.dto.SpuBoundsDto;
import com.msb.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;


@FeignClient(name="mall-coupon")
public interface CouponFeignService {


    @PostMapping("/coupon/skuFullReduction/saveInfo")
    R saveFullReduction(@RequestBody SkuReductionDto dto);

    @RequestMapping("/coupon/spuBounds/save")
    R saveSpuBounds(@RequestBody SpuBoundsDto dto);
}
